
package com.usvisatrack.core.dao.model;

import java.util.Date;

import com.usvisatrack.core.common.DataObject;
import com.usvisatrack.core.dao.model.data.UserStatus;

/**
 * User ORM
 * 
 * @author YuCheng
 *
 */
public class User extends DataObject {

	private String userName;
	private String password;
	private String email;
	private UserStatus userStatus;
	private Date dateRegistered;

	public User() {
		this.dateRegistered = new Date();
		this.userStatus = UserStatus.NEEDVERIFY;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public UserStatus getUserStatus() {
		return userStatus;
	}

	public void setUserStatus(UserStatus userStatus) {
		this.userStatus = userStatus;
	}

	public Date getDateRegistered() {
		return dateRegistered;
	}

	public void setDateRegistered(Date dateRegistered) {
		this.dateRegistered = dateRegistered;
	}

}
